/**
 * @file	mesh_config.h
 * @author	chipsea
 * @brief	
 * @version	1.0
 * @date	2021-06-08
 * @copyright Copyright (c) 2021, CHIPSEA Co., Ltd.
 * @note
 */
 
 
#ifndef __MESH_CONFIG_H__
#define __MESH_CONFIG_H__

// <<< Use Configuration Wizard in Context Menu >>>\n


// <h> Provisioning config

// <o> DEFAULT_PROVISIONING_BEARER_LAYER  - Config default provisioning bearer
// <i> PROV_BRR_ADV: provisioning bearer is PB-ADV;    PROV_BRR_GATT: provisioning bearer is PB-GATT;    PROV_BRR_ADV | PROV_BRR_GATT: provisioning bearers are PB-ADV and PB-GATT
// <0x01=> PROV_BRR_ADV
// <0x02=> PROV_BRR_GATT
// <0x03=> PROV_BRR_ADV | PROV_BRR_GATT
#define DEFAULT_PROVISIONING_BEARER 	0x03

// </h> 

// <h> Foundation Models config

// <o> DEFAULT_TTL - Config default TTL. 
// <i> The Default TTL is applied by the access layer unless the application specifies a TTL
// <2-127>
#define DEFAULT_TTL		100

// <o> DEFAULT_RELAY_RETRANSMIT_COUNT - Config the number(3-bit value) of retransmissions on advertising bearer for each Network PDU relayed by the node. 
// <i> The Relay Retransmit Count + 1 is the number of times that packet is transmitted for each packet that is relayed.
// <0-7>
#define DEFAULT_RELAY_RETRANSMIT_COUNT							7

// <o> DEFAULT_RELAY_RETRANSMIT_INTERVAL_STEPS - Config the number(5-bit value) of 10-millisecond steps between retransmissions. 
// <i> retransmission interval = (Relay Retransmit Interval Steps + 1) * 10
// <0-31>
#define DEFAULT_RELAY_RETRANSMIT_INTERVAL_STEPS			2

// <o> DEFAULT_NETWORK_TRANSMIT_COUNT - Config the number(3-bit value) of transmissions for each Network PDU originating from the node. 
// <i> The number of transmissions is the Transmit Count + 1
// <0-7>
#define DEFAULT_NETWORK_TRANSMIT_COUNT							0

// <o> DEFAULT_NETWORK_TRANSMIT_INTERVAL_STEPS - Config the number(5-bit value) of 10-millisecond steps between transmissions. 
// <i> transmission interval = (Network Retransmit Interval Steps + 1) * 10
// <0-31>
#define DEFAULT_NETWORK_TRANSMIT_INTERVAL_STEPS			0

// <o> CFG_HEARTBEAT_MODE - Config heartbeat mode. 
// <i> 0-Disable heartbeat subscription ; 1-Enable heartbeat subscription
// <0=> Disable heartbeat subscription
// <1=> Enable heartbeat subscription
#define CFG_HEARTBEAT_MODE				0
// </h> 

#endif
